+2006-07-18 Kristian Rietveld <kris@imendio.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
+ priv->width, alloc.width when allocating the bin_window,
+ (gtk_tree_view_bin_expose): don't overrun bin_window when drawing
+ the flat box.
+
2006-07-17 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty
+2006-07-18 Kristian Rietveld <kris@imendio.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
+ priv->width, alloc.width when allocating the bin_window,
+ (gtk_tree_view_bin_expose): don't overrun bin_window when drawing
+ the flat box.
+
2006-07-17 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty
/* Make the window for the tree */
attributes.x = 0;
attributes.y = TREE_VIEW_HEADER_HEIGHT (tree_view);
- attributes.width = tree_view->priv->width;
+ attributes.width = MAX (tree_view->priv->width, widget->allocation.width);
attributes.height = widget->allocation.height;
attributes.event_mask = GDK_EXPOSURE_MASK |
GDK_SCROLL_MASK |
widget,
"cell_even",
0, tree_view->priv->height,
- bin_window_width, bin_window_height);
+ bin_window_width,
+ bin_window_height - tree_view->priv->height);
}
if (node == NULL)